.class Lcom/xingbook/park/fragment/i;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/ui/be;


# instance fields
.field final synthetic a:Lcom/xingbook/park/fragment/HomeTodayFragment;


# direct methods
.method constructor <init>(Lcom/xingbook/park/fragment/HomeTodayFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/t;->b(Landroid/content/Context;)V

    return-void
.end method

.method public a(Lcom/xingbook/cinema/b/a;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    return-void
.end method

.method public a(Lcom/xingbook/park/b/c;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    return-void
.end method

.method public a(Lcom/xingbook/xingbook/b/d;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {v0, p1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/xingbook/huiben/activity/OpenHuibenAct;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public b(Lcom/xingbook/xingbook/b/d;)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/OpenBookAct;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.park.BOOK_ID"

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "com.xingbook.park.TO_STORE"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/high16 v2, 0x1000

    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    invoke-virtual {v0, v1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    :cond_0
    return-void
.end method

.method public c(Lcom/xingbook/xingbook/b/d;)V
    .locals 5

    const/4 v4, 0x0

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    instance-of v0, p1, Lcom/xingbook/xingbook/b/d;

    if-eqz v0, :cond_3

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->D()I

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v0

    sget-object v1, Lcom/xingbook/c/c;->i:[I

    invoke-virtual {v0, v1}, Lcom/xingbook/c/j;->a([I)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->t()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/xingbook/c/a;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    new-instance v1, Lcom/xingbook/xingbook/c/b;

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    iget-object v3, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-static {v3}, Lcom/xingbook/park/fragment/HomeTodayFragment;->a(Lcom/xingbook/park/fragment/HomeTodayFragment;)Lcom/xingbook/xingbook/c/d;

    move-result-object v3

    invoke-direct {v1, v2, p1, v0, v3}, Lcom/xingbook/xingbook/c/b;-><init>(Landroid/content/Context;Lcom/xingbook/xingbook/b/a;Lcom/xingbook/service/download/f;Lcom/xingbook/xingbook/c/d;)V

    invoke-virtual {p1}, Lcom/xingbook/xingbook/b/d;->D()I

    move-result v0

    invoke-virtual {v1, v4, v0}, Lcom/xingbook/xingbook/c/b;->a(II)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    goto :goto_0

    :cond_3
    new-instance v1, Lcom/xingbook/xingbook/c/b;

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    iget-object v0, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeTodayFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    iget-object v3, p0, Lcom/xingbook/park/fragment/i;->a:Lcom/xingbook/park/fragment/HomeTodayFragment;

    invoke-static {v3}, Lcom/xingbook/park/fragment/HomeTodayFragment;->a(Lcom/xingbook/park/fragment/HomeTodayFragment;)Lcom/xingbook/xingbook/c/d;

    move-result-object v3

    invoke-direct {v1, v2, p1, v0, v3}, Lcom/xingbook/xingbook/c/b;-><init>(Landroid/content/Context;Lcom/xingbook/xingbook/b/a;Lcom/xingbook/service/download/f;Lcom/xingbook/xingbook/c/d;)V

    invoke-virtual {v1, v4}, Lcom/xingbook/xingbook/c/b;->a(I)V

    goto :goto_0
.end method
